Repository navigation
form.ext 0.12.2: the engine tests pass again - #17
Merged
Merged
Conversation
…rmcite service and the larger family spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
form.ext 0.12.2: the engine tests pass again
Summary
./formext test enginefailed with 20 tests. The checker and the host list were right in every case; the tests had not followed two changes.tests/validate/test_code_rules.py). Theirsetup()copies the hello example, replaces itspermissions, and expects a clean package. Since 0.12.0 the hello example also hasservices: ["formcite"]. Withfcite.addongone from the permissions, the checker correctly reportsservices needs the fcite.addon permission, and an API 1 host refusing it.setup()now removesserviceswith the permissions. The unused-permission tests failed for the same reason: the error stopped the check before that warning.test_spec_extensions_win(tests/test_hosts.py). It looked for the textmanifest.extensions: formcut, which held only while FormCut was the first app in that joined list. Since the family spec copy was refreshed on 26 November, sixteen apps declare extensions and FormCut is fourth. The test now looks for FormCut anywhere in the list.No engine, interface or contract file changed.
Commits
test: the code-rule and host-list tests follow the hello example's formcite service and the larger family specchore(release): 0.12.2Version
0.12.2 in
backend/app/__init__.py,frontend/package.json,package-lock.json,frontend/src/shell/version.ts, the demo's health answer infrontend/src/demo/engine/router.ts,src-tauri/Cargo.toml,Cargo.lock,tauri.conf.jsonand the README badge.CHANGELOG.mdhas the v0.12.2 section.Checks
tests/test_hosts.pyandtests/validate/test_code_rules.py, 44 passed. One test in that file could not run here at all: it needs Starlette's test client package, which the sandbox lacks and CI has.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.